home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000092_ken%cs.toronto….cs.toronto.edu_Mon Nov 22 20:47:59 1993.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from relay.cs.toronto.edu by cs.umb.edu with SMTP id AA24635
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Tue, 23 Nov 1993 01:48:09 -0500
  3. Received: by relay.cs.toronto.edu id <428558>; Tue, 23 Nov 1993 01:48:05 -0500
  4. From: Ken Lalonde <ken@cs.toronto.edu>
  5. To: tex-k@cs.umb.edu
  6. Subject: dvipsk 5.521a path interpretation bug
  7. Message-Id: <93Nov23.014805est.428558@relay.cs.toronto.edu>
  8. Date:     Tue, 23 Nov 1993 01:47:59 -0500
  9.  
  10. We use a separate dvips config file for our 600dpi printer.
  11. The default PK path used by the kpathsea library is
  12.  
  13.     /local/share/tex3/pk/default:/local/share/tex3/fonts//
  14.  
  15. The 600dpi config file (config.laserjetfour) contains
  16.  
  17.     P /local/share/tex3/pk/laserjetfour:/local/share/tex3/fonts//
  18.  
  19. The problem shows up if you set TEXPKS, e.g.
  20.  
  21.     % setenv TEXPKS $HOME/pk:
  22.     % dvips -P laserjetfour foo.dvi
  23.  
  24. I would expect dvips to use the following path to search for PK files:
  25.  
  26.     $HOME/pk:/local/share/tex3/pk/laserjetfour:/local/share/tex3/fonts//
  27.  
  28. i.e. the trailing colon should expand to the path set in the config file.
  29. In fact, it expands to the compiled-in default.  The search path
  30. becomes:
  31.  
  32.     $HOME/pk:/local/share/tex3/pk/default:/local/share/tex3/fonts//
  33.  
  34. The config file setting is lost.
  35.  
  36. I think it makes more sense for the config file settings to
  37. override the compiled-in defaults.  Otherwise users must
  38. wire the defaults in environment variables, something -lkpathsea
  39. is supposed to make unnecessary.
  40.  
  41. Here's an ugly short-term workaround.
  42. The bug still applies to TFMFONTS etc.
  43.  
  44. Ken
  45.  
  46. *** /tmp/,RCSt1a03240   Tue Nov 23 01:43:14 1993
  47. --- resident.c  Tue Nov 23 01:06:07 1993
  48. ***************
  49. *** 665,671 ****
  50.   
  51.        /* If envvars are set, override the current path settings.  In any
  52.           case, expand default values.  */
  53. !      INIT_PATH (pkpath, DEFAULT_PK_PATH, KPSE_PK_ENVS);
  54.        INIT_PATH (tfmpath, DEFAULT_TFM_PATH, KPSE_TFM_ENVS);
  55.        INIT_PATH (vfpath, DEFAULT_VF_PATH, KPSE_VF_ENVS);
  56.        INIT_PATH (pictpath, DEFAULT_PICT_PATH, DVIPS_PICT_ENVS);
  57. --- 665,671 ----
  58.   
  59.        /* If envvars are set, override the current path settings.  In any
  60.           case, expand default values.  */
  61. !      INIT_PATH (pkpath, pkpath, KPSE_PK_ENVS);
  62.        INIT_PATH (tfmpath, DEFAULT_TFM_PATH, KPSE_TFM_ENVS);
  63.        INIT_PATH (vfpath, DEFAULT_VF_PATH, KPSE_VF_ENVS);
  64.        INIT_PATH (pictpath, DEFAULT_PICT_PATH, DVIPS_PICT_ENVS);